package com.yun.zf.common.admin.model.sys;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
public class SysDictDataAddMo {

    @ApiModelProperty(value = "字典标签")
    @NotBlank(message = "字典标签不能为空")
    private String dictLabel;
    @ApiModelProperty(value = "字典键值")
    @NotBlank(message = "字典键值不能为空")
    private String dictValue;
    @ApiModelProperty(value = "字典类型")
    @NotBlank(message = "字典类型不能为空")
    private String dictType;
    @NotBlank(message = "字典key不能为空")
    @ApiModelProperty(value = "字典key")
    private String dictKey;

    @ApiModelProperty(value = "状态")
    private String status;
    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "字典排序")
    private Long dictSort;

}
